package com.aos.erp.message.model.vo;

import com.aos.erp.message.enums.PushType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@Getter
@Setter
@ApiModel("消息模板推送信息")
public class MTPushTypeVo implements Serializable {

    @ApiModelProperty(hidden = true, value = "推送方式(app:APP；wx_public:微信公众号；wx_applet:微信小程序；sms:短信)")
    private PushType pushType=PushType.app;   // 推送方式
    @ApiModelProperty(hidden = true, value = "模板内容(1000字符内，APP、短信推送需要)")
    private String mtContent = "";      // 模板内容
    @ApiModelProperty(hidden = true, value = "微信模板ID(微信公众号、微信小程序推送需要)")
    private String mtWxTemplateId = ""; // 微信模板id
    @ApiModelProperty(hidden = true, value = "点击模板后跳转链接(微信公众号、微信小程序推送需要，其中小程序仅限小程序内的页面，若不传，则点击后无跳转)")
    private String mtUrl = "";          // 微信跳转链接
    @ApiModelProperty(hidden = true, value = "推送参数[{mtpId:参数项ID,mtpItem:'参数项', mtpDesc:'参数项描述'}]")
    private List<MTPushTypeParamVo> pushParamList = new ArrayList<>();
}
